home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
codelib8
/
v_10_07
/
1007010a
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-11-01
|
262 b
|
15 lines
Listing 1 -- mbtowc.c
/* mbtowc function */
#include <stdlib.h>
/* static data */
_Mbsave _Mbxtowc = {0};
int (mbtowc)(wchar_t *pwc, const char *s, size_t n)
{ /* determine next multibyte code */
return (_Mbtowc(pwc, s, n, &_Mbxtowc));
}